package com.ruoyi.shenji.domain.Vo;

import com.ruoyi.shenji.domain.TableData;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.ArrayList;
import java.util.List;


@Data
public class TableDataVo extends TableData {
    /** 子部门 */
    private List<TableDataVo> children = new ArrayList<>();

    public TableDataVo() {
    }
    public TableDataVo(String key, Integer id, String roleKey,String abbrev) {
        super(key, id, roleKey,abbrev);
    }

    public void setChildren(List<TableDataVo> children)
    {
        this.children = children;
    }
}
